import React, { FC } from 'react'
import { HashRouter as Router, Route } from 'react-router-dom'
import Container from '@/pages/container'
import BigData from "./pages/bigData";
import Login from '@/pages/login'
import RouterView from '@/pages/routesView'
import CleanFusion from '@/pages/cleanFusion'

require('./mock/index')
const App: FC = () => (
  <Router>
    <Route  path="/routerView" component={RouterView} />
    <Route exact path="/login" component={Login} />
    <Route path="/bg" component={BigData} />


    <Route path="/cleanFusion" component={CleanFusion} />
    <Route
      path="/admin/"
      key="container"
      render={(props: unknown) => <Container {...props} />}
    />
    <Route exact path="/" component={Login} />
  </Router>
)

export default App
